<?php
/**
 * Created by PhpStorm.
 * User: seven
 * Date: 2015/12/22
 * Time: 17:40
 */
$title = $this->translate('Edit album');
$this->headTitle($title);
?>
    <h1><?php echo $this->escapeHtml($title); ?></h1>
<?php
$form->setAttribute('action', $this->url('album', ['action' => 'edit',
                                                   'id'     => $this->id]));
$form->prepare();

echo $this->form()->openTag($form);
//echo $this->formHidden($form->get('id'));
//echo $this->formRow($form->get('title'));
//echo $this->formRow($form->get('artist'));
//echo $this->formSubmit($form->get('submit'));
echo $this->formCollection($form);
echo $this->form()->closeTag();
